export const DEFAULT_AVATAR = '@/img/avatar-default.png'

export const REFRESH_INTERVAL = (__DEV__ ? 1 : 1) * 60 * 1000

export const PAGE = {
  LOGIN: 'login.html',
  MAIN: 'index.html'
}

export const ROUTE_LOGIN = {
  INDEX: 'index',
  REG: 'reg',
  LOGIN: 'qrcode'
}

export const STATE_VALUE = {
  ONLINE: 0,
  LEAVE: 4,
  HIDE: 1,
  BUSY: 3,
  GAME: 5
}

export const STATE_TEXT = {
  ONLINE: '在线',
  LEAVE: '离开',
  HIDE: '隐身',
  BUSY: '忙碌',
  GAME: '游戏中'
}

export const kChannelUrl = 'channel.html'
